package com.example.bootintegration.dao.test.entity;

import lombok.Data;

import jakarta.persistence.EmbeddedId;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;

/**
 * @author Quintoy
 * @date 2022/3/7
 * @email quintoy@synnex.com
 */
@Entity
@Table(name = "student2")
@Data
public class Student {
    @EmbeddedId
    private StudentIdx studentIdx;

    private String stu_code;
    private Integer age;

    
}
